package inject

import (
	"gitee.com/kordar/bucket/controller"
	digstarter "github.com/kordar/dig-starter"
)

func ControllerProvider() {

	digstarter.ProvideE(func(p ControllerParams) (ControllerResult, error) {
		return ControllerResult{
			BucketController: controller.NewBucketController(p.BucketUploaderService),
		}, nil
	})

}
